package edu.ruc.cluster.util;

import com.jcraft.jsch.UserInfo;

public class MyUserInfo implements UserInfo{
	private String passwd = "";
	public MyUserInfo(String passwd){
		this.passwd = passwd;
	}
	public String getPassphrase(){
		return null;
	}
	public String getPassword(){
		return passwd;
	}
	public boolean promptPassword(String message){
		return true;
	}
	public boolean promptPassphrase(String message){
		return true;
	}
	public boolean promptYesNo(String message){
		return true;
	}
	public void showMessage(String message){
		System.out.println(message);
	}
}